import request from '@/utils/request'

// 获取不合格处理表单列表
export function defecthandle(data) {
	return request({
		url: `/api/Business/defecthandle`,
		method: 'get',
		data,
		options: {
			load: false
		}
	})
}

//获取不合格处理表单列表详情
export function defecthandlebyid(id) {
	return request({
		url: `/api/Business/defecthandle/${id}`,
		method: 'get',
		options: {
			load: false
		}
	})
}

//提交审批流程
export function savedefecthandle(data) {
	return request({
		url: `/api/Business/defecthandle`,
		method: 'put',
		data,
		options: {
			load: false
		}
	})
}


